--- a/configure.ac
+++ b/configure.ac
@@ -35,9 +35,6 @@ AC_ARG_WITH(
     [$withval], [no], [], [yes], [],
     [AC_MSG_ERROR([bad value "$withval" for --with-gnustl])])],
   [with_gnustl=no])
-if test "x$with_gnustl" != "xno"; then
-  PKG_CHECK_MODULES(GNUSTL, gnustl)
-fi
 AC_SUBST(GNUSTL_LIBS)
 AC_SUBST(GNUSTL_CFLAGS)
 
